'''
Created on 2011-05-27

@author: R2BINETMA
'''

class Controleur:
    def __init__(self, nom, modele, vue):
        self.nom = nom
        self.jdm = modele
        vue.controleur = self
        vue.setDimensions(modele)
        vue.start()
    
    def deplacement(self, status, direction):
        self.jdm.deplacement(self.nom, status, direction)
    